<%@page pageEncoding="UTF-8" contentType="text/html; utf-8" isELIgnored="false" %>
<%--导入标签库就能用指令--%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
	<head>
		<title>update Emp</title>
		<meta  charset=UTF-8">
		<link rel="stylesheet" type="text/css" href="css/style.css" />
	</head>

	<body>
		<div id="wrap">
			<div id="top_content">
<%--					header部分--%>
				<%@include file="header.jsp"%>
				<div id="content">
					<p id="whereami">
					</p>
					<h1>
						修改学生成绩
					</h1>
					<form action="updateGrade.student" method="post">
						<table cellpadding="0" cellspacing="0" border="0"
							class="form_table">

                            <c:forEach items="${grade}" var="grade">
							<tr>

								<td valign="middle" align="right">
										${grade.cno}_${grade.cname}:<input type="hidden" name="sno" value="${grade.sno}">
											<input type="hidden" name="cname" value="${grade.sname}">
											<input type="hidden" name="cno" value="${grade.cno}">
								</td>
								<td valign="middle" align="left">
									<input type="text" class="inputgri" name="grade" value="${grade.grade}"/>								</td>
							</tr>
                            </c:forEach>
						</table>
						<p>
							<input type="submit" class="button" value="修改" />
						</p>
					</form>
				</div>
			</div>
			<%--footer部分--%>
			<%@include file="footer.jsp"%>
		</div>
	</body>
</html>
